package com.party.core.model.commune;

import java.util.Objects;

/**
 * @program: party
 * @description: 用户积分mobile输出实体
 * @author: Hua Qunhao
 * @create: 2019-08-14 10:00
 **/
public class CUserIntegralMobileOutput  {

    //用户id
    private String memberId;
    //机构用户关系表id
    private String pmId;
    //用户头像
    private String logo;
    //用户名称
    private String name;
    //排名
    private Long ranking;
    //用户积分
    private Double fraction;
    //绑定日期
    private String buildDate;
    //手机号
    private String mobile;
    //用户所属机构名称
    private String partnerName;
    //社团职务
    private String leagueJob;

    public String getPartnerName() {
        return partnerName;
    }

    public void setPartnerName(String partnerName) {
        this.partnerName = partnerName;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getPmId() {
        return pmId;
    }

    public void setPmId(String pmId) {
        this.pmId = pmId;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getRanking() {
        return ranking;
    }

    public void setRanking(Long ranking) {
        this.ranking = ranking;
    }

    public Double getFraction() {
        return fraction;
    }

    public void setFraction(Double fraction) {
        this.fraction = fraction;
    }

    public String getBuildDate() {
        return buildDate;
    }

    public void setBuildDate(String buildDate) {
        this.buildDate = buildDate;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getLeagueJob() {
        return leagueJob;
    }

    public void setLeagueJob(String leagueJob) {
        this.leagueJob = leagueJob;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        CUserIntegralMobileOutput that = (CUserIntegralMobileOutput) o;
        return Objects.equals(memberId, that.memberId) &&
                Objects.equals(pmId, that.pmId) &&
                Objects.equals(logo, that.logo) &&
                Objects.equals(name, that.name) &&
                Objects.equals(ranking, that.ranking) &&
                Objects.equals(fraction, that.fraction);
    }

    @Override
    public int hashCode() {
        return Objects.hash(memberId, pmId, logo, name, ranking, fraction);
    }

    @Override
    public String toString() {
        return "CUserIntegralMobileOutput{" +
                "memberId='" + memberId + '\'' +
                ", pmId='" + pmId + '\'' +
                ", logo='" + logo + '\'' +
                ", name='" + name + '\'' +
                ", ranking=" + ranking +
                ", fraction=" + fraction +
                '}';
    }
}
